//
//  SharingPhotosModel.m
//  PerfectWorld
//
//  Created by dllo on 16/9/20.
//  Copyright © 2016年 LST. All rights reserved.
//

#import "SharingPhotosModel.h"
#import "SonUser.h"
@implementation SharingPhotosModel

- (void)setValue:(id)value forKey:(NSString *)key {
    [super setValue:value forKey:key];
    if ([key isEqualToString:@"user"]) {
        _user = [SonUser modelWithDic:value];
    }
}
- (void)setValue:(id)value forUndefinedKey:(NSString *)key {
    if ([key isEqualToString:@"id"]) {
        _Shari_id = value;
    }
    if ([key isEqualToString:@"description"]) {
        _Shari_description = value;
    }
}

@end
